/* pages/chat/chat.wxss */
.container {
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.topic{
  width: 660rpx;
  height: 80rpx;
  margin: 20rpx auto 0;
  border-radius: 16rpx;
  background: #fff;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 0 0 30px;
  box-sizing: border-box;

  .head{
    width: 32rpx;
    height: 32rpx;
    margin-right: 14rpx;
  }
  .intro{
    font-size: 20rpx;
    display: flex;
    align-items: center;
    .span{
      color: #32A9F5;
    }
  }
}

.webinar{
  width: 660rpx;
  margin: 20rpx auto 0;
  display: flex;
  justify-content: space-between;
  background: #FFFCEF;
  padding: 30rpx 30rpx 24rpx 30rpx;
  align-items: center;
  box-sizing: border-box;
  border-radius: 16rpx;

  .w-info{
    .label{
      display: flex;
      align-items: center;
      font-size: 28rpx;
      .icon{
        width: 20rpx;
        height: 20rpx;
        margin-right: 10rpx;
      }
    }
    .tip{
      font-size: 20rpx;
      color: #858585;
      padding: 0 0 0 30rpx;
    }
  }
  .w-join{
    height: 52rpx;
    line-height: 52rpx;
    background: #FFC518;
    padding: 0 20rpx;
    color: #fff;
    font-size: 24rpx;
    border-radius: 26rpx;
  }
}

.case-tab{
  display: flex;
  margin: 30rpx auto;
  justify-content: center;

  .tab{
    min-width: 190rpx;
    height: 60rpx;
    line-height: 60rpx;
    font-size: 32rpx;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
    padding:0 30rpx;

    &.active{
      background: #32A9F5;
      border-radius: 30rpx;
    }
  }
}

.case-detail{
  width: 660rpx;
  margin: 0 auto;

  .case{
    .title{
      justify-content: space-between;
    }
  }

  .box{
    border-radius: 16rpx;
    overflow: hidden;
    background: #fff;
    margin-bottom: 20rpx;

    .title{
      height: 94rpx;
      font-size: 32rpx;
      background: #32A9F5;
      padding: 0 40rpx 0 30rpx;
      display: flex;
      align-items: center;
      color: #fff;

      label{
        font-size: 20rpx;
        margin: 10rpx 0 0 10rpx;
      }

      .detail-btn{
        font-size: 24rpx;
      }
    }
    .info{
      border: 1px #CDCDCD solid;
      border-radius: 0 0 16rpx 16rpx ;
      border-width: 0 1px 1px 1px;
      overflow:hidden;
      font-size: 24rpx;
      padding: 30rpx 40rpx 30rpx 30rpx;

      .label{
        font-size: 26rpx;
        font-weight: 700;
      }

      .value{
        font-size: 26rpx;
        color: #777676;
      }

      .tags{
        margin-bottom: 20rpx;
        .label{
          display: flex;
          align-items: center;
        }
        .tag{
          height: 36rpx;
          line-height: 36rpx;
          padding: 0 15rpx;
          background:  rgba(50, 169, 245, 0.5);
          border-radius: 4rpx;
          margin-left: 12rpx;
          font-weight: normal;
          font-size: 20rpx;
          color: #fff;
        }
      }

      .col{
        margin-bottom: 20rpx;
        padding: 0 0 20rpx;
        border-bottom: 1px #DBDBDB solid;
        .label{
          margin-bottom: 5rpx;
        }

        &:nth-last-child(1){
          border: 0;
          margin-bottom: 0rpx;
        }
      }

      // .other{
      //   padding: 0 0 20rpx;
      //   display: flex;
      //   .value{
      //   }
      //   .time{
      //     min-width: 180rpx;
      //     max-width: 360rpx;
      //   }
      //   .hospital{
      //     margin-left: 60rpx;
      //   }
      // }

      .comment{
        display: flex;
        align-items: center;
        .icon{
          width: 20rpx;
          height: 18rpx;
        }
        .num{
          font-size: 24rpx;
          margin-left: 10rpx;
        }
        .list{
          display: flex;
          margin-left: 10rpx;

          .avatar{
            width: 30rpx;
            height: 30rpx;
            border: 6rpx #fff solid;
            margin-left: -10rpx;
            border-radius: 15rpx;
            overflow: hidden;

            &:nth-child(1){
              margin-left: -5rpx;
            }
          }
        }
      }
    }
  }
}

.case-tab-detail{
  display: none;
  &.show{
    display: block;
  }
}

.case-interactive{
  .card{
    width: 660rpx;
    margin: 0 auto 20rpx;
    border: 1px #CDCDCD solid;
    border-radius: 16rpx;
    padding: 50rpx 36rpx 45rpx;
    background: #fff;
    box-sizing: border-box;
    font-size: 28rpx;
    .head{
      display: flex;
      align-items: center;
      .avatar{
        width: 52rpx;
        height: 52rpx;
        border-radius: 26rpx;
        overflow: hidden;
      }
      .info{
        margin: 0 0 0 20rpx;
        .name{
          font-size: 24rpx;
        }
        .hospital{
          font-size: 20rpx;
          color: #8A8A8A;
        }
      }
    }
    .content{
      margin-top: 25rpx;
    }
    .foot{
      margin-top: 45rpx;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .date{
        font-size: 20rpx;
        color: #8A8A8A;
      }
      .buttons{
        display: flex;
        .button{
          min-width: 158rpx;
          height: 52rpx;
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 0 20rpx 0 14rpx;
          margin-left: 16rpx;
          box-sizing: border-box;
          border: 1px #AAAAAA solid;
          border-radius: 200rpx;
          font-size: 24rpx;
          .reply{
            width: 26.67rpx;
            height: 24rpx;
          }
          .like{
            width: 25.93rpx;
            height: 24rpx;
          }
          .num{
            margin-left: 20rpx;
          }
        }
      }
    }
    .self{
      padding: 0 0 34.5rpx;
      border-bottom: 1px #DBDBDB solid;
    }
    .other-doctor{
      margin-top: 34.5rpx;
    }
  }
}

.case-assistance{
  width: 660rpx;
  margin: 0 auto;

  .case{
    .title{
      justify-content: space-between;
    }
  }

  .box{
    border-radius: 16rpx;
    overflow: hidden;
    background: #fff;
    margin-bottom: 20rpx;

    .title{
      height: 94rpx;
      font-size: 32rpx;
      background: #32A9F5;
      padding: 0 40rpx 0 30rpx;
      display: flex;
      align-items: center;
      color: #fff;
    }
    .info{
      border: 1px #CDCDCD solid;
      border-radius: 0 0 16rpx 16rpx ;
      border-width: 0 1px 1px 1px;
      overflow:hidden;
      font-size: 28rpx;
      padding: 30rpx 40rpx 30rpx 30rpx;
      
      .guide-box{
        .guide-title{
          color:#32A9F5;
          display: flex;
          align-items: center;
          .icon{
            width: 25.22rpx;
            margin-right: 12.5rpx;
            font-size: 28rpx;
          }
        }
        .guide-content{
          margin-top: 30rpx;
          padding: 0 0 24rpx;
          border-bottom: 1px #DBDBDB solid;
        }
        .guide-origin{
          margin-top: 30rpx;
          .tip{
            font-size: 24rpx;
            padding: 0 0 15rpx;
            display: flex;
            justify-content: space-between;
            .time{
              font-size: 20rpx;
              color: #858585;
            }
          }
          .join-doctor{
            .head{
              display: flex;
              align-items: center;
              .avatar{
                width: 52rpx;
                height: 52rpx;
                border-radius: 26rpx;
                overflow: hidden;
              }
              .info{
                border: 0;
                padding: 20rpx 0;
                margin: 0 0 0 20rpx;
                .name{
                  font-size: 24rpx;
                }
                .hospital{
                  font-size: 20rpx;
                  color: #8A8A8A;
                }
              }
            }
          }
          .text{
            font-size: 20rpx;
            color: #8A8A8A;
            .li{
              display: flex;
              justify-content: space-between;
            }
          }
        }
      }
    }
  }
}

.join-webinar{
  .weui-dialog{
    width: 660rpx;
    border-radius: 16rpx;
    overflow: hidden;

    .weui-dialog__hd{
      padding: 0;
      height: 94rpx;
      background: #32A9F5;
      .weui-dialog__title{
        line-height: 94rpx;
        color: #fff;
      }
    }

    .content{
      padding: 50rpx 40rpx 0;
      color: #000;
      .meeting{
        padding: 0 0 22rpx;
        border-bottom: 1px solid #DBDBDB;
        margin-bottom: 30rpx;

        .tip{
          font-size: 30rpx;
          padding: 0 0 20rpx;
        }
        .num{
          font-size: 60rpx;
        }
      }
      .intro{
        .part{
          margin-bottom: 20rpx;
          font-size: 28rpx;
          .t{
            color:#32A9F5;
            font-weight: 700;

            &.time{
              font-weight: normal;
              font-size: 32rpx;
            }
          }
          .v{
            color: #858585;
          }
        }
      }
    }
    .buttons{
      margin: 14rpx auto 0;
      .button{
        width: 480rpx;
        height: 100rpx;
        line-height: 100rpx;
        background: #32A9F5;
        border-radius: 50rpx;
        margin: 0 auto;
        color: #fff;
        font-size: 32rpx;
      }
    }
  }
}

.reply-input{
  margin-top: 20rpx;

  .input{
    height: 160rpx;
    border: 1px #DBDBDB solid;
    border-radius: 16rpx;
    padding: 20rpx;
    box-sizing: border-box;
    overflow: hidden;
  }

  .buttons{
    margin-top: 20rpx;
    display: flex;
    justify-content:flex-end;

    .button{
      height: 52rpx;
      line-height: 52rpx;
      background: #32A9F5;
      padding: 0 20rpx;
      color: #fff;
      font-size: 24rpx;
      border-radius: 26rpx;
    }
  }
}

.ql-container {
  box-sizing: border-box;
  width: 100%;
  height: 100rpx;
  font-size: 22rpx;
  line-height: 1.5;
  overflow: auto;
}

.ql-editor.ql-blank:before {
  font-style: normal;
}

.case-tab-detail{
  .empty{
    min-height: 400rpx;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}